package com.estate.owner.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Pet;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface PetService extends IService<Pet> {

    JsonResult findById(String id);

    JsonResult addPet(Pet pet);

    JsonResult deletePet(String id);

    JsonResult updatePet(Pet pet);

    JsonResult listByPage(int page, int size);
}
